SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{6244a1392874841f208ce040997e19e7efe7c241829073efb33f8447755c0c13}Bellapais{6244a1392874841f208ce040997e19e7efe7c241829073efb33f8447755c0c13}' OR prCity = 'Bellapais' OR prZip = 'Bellapais' OR prStreet LIKE '{6244a1392874841f208ce040997e19e7efe7c241829073efb33f8447755c0c13}Bellapais{6244a1392874841f208ce040997e19e7efe7c241829073efb33f8447755c0c13}' OR prCountry = 'Bellapais') AND (prLocation LIKE '{6244a1392874841f208ce040997e19e7efe7c241829073efb33f8447755c0c13}Cyprus{6244a1392874841f208ce040997e19e7efe7c241829073efb33f8447755c0c13}' OR prCity = 'Cyprus' OR prZip = 'Cyprus' OR prStreet LIKE '{6244a1392874841f208ce040997e19e7efe7c241829073efb33f8447755c0c13}Cyprus{6244a1392874841f208ce040997e19e7efe7c241829073efb33f8447755c0c13}' OR prCountry = 'Cyprus')