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