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