SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{fa5686925469c56340984c675da56ece67621fdfb1ef02fef92eb1dd92e8a7fd}Caorle{fa5686925469c56340984c675da56ece67621fdfb1ef02fef92eb1dd92e8a7fd}' OR prCity = 'Caorle' OR prZip = 'Caorle' OR prStreet LIKE '{fa5686925469c56340984c675da56ece67621fdfb1ef02fef92eb1dd92e8a7fd}Caorle{fa5686925469c56340984c675da56ece67621fdfb1ef02fef92eb1dd92e8a7fd}' OR prCountry = 'Caorle') AND (prLocation LIKE '{fa5686925469c56340984c675da56ece67621fdfb1ef02fef92eb1dd92e8a7fd}Italy{fa5686925469c56340984c675da56ece67621fdfb1ef02fef92eb1dd92e8a7fd}' OR prCity = 'Italy' OR prZip = 'Italy' OR prStreet LIKE '{fa5686925469c56340984c675da56ece67621fdfb1ef02fef92eb1dd92e8a7fd}Italy{fa5686925469c56340984c675da56ece67621fdfb1ef02fef92eb1dd92e8a7fd}' OR prCountry = 'Italy')