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