SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{5047c15c2f2b0efddea7cffc299e5b0d9a8a7f20adbffc70e20d0512e3e7a6f3}Selvazzano{5047c15c2f2b0efddea7cffc299e5b0d9a8a7f20adbffc70e20d0512e3e7a6f3}' OR prCity = 'Selvazzano' OR prZip = 'Selvazzano' OR prStreet LIKE '{5047c15c2f2b0efddea7cffc299e5b0d9a8a7f20adbffc70e20d0512e3e7a6f3}Selvazzano{5047c15c2f2b0efddea7cffc299e5b0d9a8a7f20adbffc70e20d0512e3e7a6f3}' OR prCountry = 'Selvazzano') AND (prLocation LIKE '{5047c15c2f2b0efddea7cffc299e5b0d9a8a7f20adbffc70e20d0512e3e7a6f3}Dentro{5047c15c2f2b0efddea7cffc299e5b0d9a8a7f20adbffc70e20d0512e3e7a6f3}' OR prCity = 'Dentro' OR prZip = 'Dentro' OR prStreet LIKE '{5047c15c2f2b0efddea7cffc299e5b0d9a8a7f20adbffc70e20d0512e3e7a6f3}Dentro{5047c15c2f2b0efddea7cffc299e5b0d9a8a7f20adbffc70e20d0512e3e7a6f3}' OR prCountry = 'Dentro') AND (prLocation LIKE '{5047c15c2f2b0efddea7cffc299e5b0d9a8a7f20adbffc70e20d0512e3e7a6f3}Italy{5047c15c2f2b0efddea7cffc299e5b0d9a8a7f20adbffc70e20d0512e3e7a6f3}' OR prCity = 'Italy' OR prZip = 'Italy' OR prStreet LIKE '{5047c15c2f2b0efddea7cffc299e5b0d9a8a7f20adbffc70e20d0512e3e7a6f3}Italy{5047c15c2f2b0efddea7cffc299e5b0d9a8a7f20adbffc70e20d0512e3e7a6f3}' OR prCountry = 'Italy')