SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{5b6f564c7b5b2cf8fa1bb0a3401a8a6900cfc7bb90512d207092eccc075055de}Chianni{5b6f564c7b5b2cf8fa1bb0a3401a8a6900cfc7bb90512d207092eccc075055de}' OR prCity = 'Chianni' OR prZip = 'Chianni' OR prStreet LIKE '{5b6f564c7b5b2cf8fa1bb0a3401a8a6900cfc7bb90512d207092eccc075055de}Chianni{5b6f564c7b5b2cf8fa1bb0a3401a8a6900cfc7bb90512d207092eccc075055de}' OR prCountry = 'Chianni') AND (prLocation LIKE '{5b6f564c7b5b2cf8fa1bb0a3401a8a6900cfc7bb90512d207092eccc075055de}Italy{5b6f564c7b5b2cf8fa1bb0a3401a8a6900cfc7bb90512d207092eccc075055de}' OR prCity = 'Italy' OR prZip = 'Italy' OR prStreet LIKE '{5b6f564c7b5b2cf8fa1bb0a3401a8a6900cfc7bb90512d207092eccc075055de}Italy{5b6f564c7b5b2cf8fa1bb0a3401a8a6900cfc7bb90512d207092eccc075055de}' OR prCountry = 'Italy')