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