SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{b043135d4343d7a8f86590c5bf4210e596dbe208d8c70f3e19d3528d22a943b2}Faro{b043135d4343d7a8f86590c5bf4210e596dbe208d8c70f3e19d3528d22a943b2}' OR prCity = 'Faro' OR prZip = 'Faro' OR prStreet LIKE '{b043135d4343d7a8f86590c5bf4210e596dbe208d8c70f3e19d3528d22a943b2}Faro{b043135d4343d7a8f86590c5bf4210e596dbe208d8c70f3e19d3528d22a943b2}' OR prCountry = 'Faro') AND (prLocation LIKE '{b043135d4343d7a8f86590c5bf4210e596dbe208d8c70f3e19d3528d22a943b2}Portogallo{b043135d4343d7a8f86590c5bf4210e596dbe208d8c70f3e19d3528d22a943b2}' OR prCity = 'Portogallo' OR prZip = 'Portogallo' OR prStreet LIKE '{b043135d4343d7a8f86590c5bf4210e596dbe208d8c70f3e19d3528d22a943b2}Portogallo{b043135d4343d7a8f86590c5bf4210e596dbe208d8c70f3e19d3528d22a943b2}' OR prCountry = 'Portogallo')