SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{867097710224eaac9f73dec7620f76dcbdf09980fd23b40b2671e7fa29712b4a}Tortoreto{867097710224eaac9f73dec7620f76dcbdf09980fd23b40b2671e7fa29712b4a}' OR prCity = 'Tortoreto' OR prZip = 'Tortoreto' OR prStreet LIKE '{867097710224eaac9f73dec7620f76dcbdf09980fd23b40b2671e7fa29712b4a}Tortoreto{867097710224eaac9f73dec7620f76dcbdf09980fd23b40b2671e7fa29712b4a}' OR prCountry = 'Tortoreto') AND (prLocation LIKE '{867097710224eaac9f73dec7620f76dcbdf09980fd23b40b2671e7fa29712b4a}Italia{867097710224eaac9f73dec7620f76dcbdf09980fd23b40b2671e7fa29712b4a}' OR prCity = 'Italia' OR prZip = 'Italia' OR prStreet LIKE '{867097710224eaac9f73dec7620f76dcbdf09980fd23b40b2671e7fa29712b4a}Italia{867097710224eaac9f73dec7620f76dcbdf09980fd23b40b2671e7fa29712b4a}' OR prCountry = 'Italia')