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