SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{916d35de420447c6171405388f1b740d2a6fdc50709d37944f69a5678156979e}Gattières{916d35de420447c6171405388f1b740d2a6fdc50709d37944f69a5678156979e}' OR prCity = 'Gattières' OR prZip = 'Gattières' OR prStreet LIKE '{916d35de420447c6171405388f1b740d2a6fdc50709d37944f69a5678156979e}Gattières{916d35de420447c6171405388f1b740d2a6fdc50709d37944f69a5678156979e}' OR prCountry = 'Gattières') AND (prLocation LIKE '{916d35de420447c6171405388f1b740d2a6fdc50709d37944f69a5678156979e}France{916d35de420447c6171405388f1b740d2a6fdc50709d37944f69a5678156979e}' OR prCity = 'France' OR prZip = 'France' OR prStreet LIKE '{916d35de420447c6171405388f1b740d2a6fdc50709d37944f69a5678156979e}France{916d35de420447c6171405388f1b740d2a6fdc50709d37944f69a5678156979e}' OR prCountry = 'France')