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