SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{1dc3edaffb7eada5e70bc09d5266b02cad06b820e5dd01edd7a5bc5c3579f0b9}Ceppo{1dc3edaffb7eada5e70bc09d5266b02cad06b820e5dd01edd7a5bc5c3579f0b9}' OR prCity = 'Ceppo' OR prZip = 'Ceppo' OR prStreet LIKE '{1dc3edaffb7eada5e70bc09d5266b02cad06b820e5dd01edd7a5bc5c3579f0b9}Ceppo{1dc3edaffb7eada5e70bc09d5266b02cad06b820e5dd01edd7a5bc5c3579f0b9}' OR prCountry = 'Ceppo') AND (prLocation LIKE '{1dc3edaffb7eada5e70bc09d5266b02cad06b820e5dd01edd7a5bc5c3579f0b9}Morelli{1dc3edaffb7eada5e70bc09d5266b02cad06b820e5dd01edd7a5bc5c3579f0b9}' OR prCity = 'Morelli' OR prZip = 'Morelli' OR prStreet LIKE '{1dc3edaffb7eada5e70bc09d5266b02cad06b820e5dd01edd7a5bc5c3579f0b9}Morelli{1dc3edaffb7eada5e70bc09d5266b02cad06b820e5dd01edd7a5bc5c3579f0b9}' OR prCountry = 'Morelli') AND (prLocation LIKE '{1dc3edaffb7eada5e70bc09d5266b02cad06b820e5dd01edd7a5bc5c3579f0b9}Italy{1dc3edaffb7eada5e70bc09d5266b02cad06b820e5dd01edd7a5bc5c3579f0b9}' OR prCity = 'Italy' OR prZip = 'Italy' OR prStreet LIKE '{1dc3edaffb7eada5e70bc09d5266b02cad06b820e5dd01edd7a5bc5c3579f0b9}Italy{1dc3edaffb7eada5e70bc09d5266b02cad06b820e5dd01edd7a5bc5c3579f0b9}' OR prCountry = 'Italy')