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