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