SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{523db56eae838994d022f17db608ea91b5994123e71853ae464bf9bf2789c0fa}Son{523db56eae838994d022f17db608ea91b5994123e71853ae464bf9bf2789c0fa}' OR prCity = 'Son' OR prZip = 'Son' OR prStreet LIKE '{523db56eae838994d022f17db608ea91b5994123e71853ae464bf9bf2789c0fa}Son{523db56eae838994d022f17db608ea91b5994123e71853ae464bf9bf2789c0fa}' OR prCountry = 'Son') AND (prLocation LIKE '{523db56eae838994d022f17db608ea91b5994123e71853ae464bf9bf2789c0fa}Rapinya{523db56eae838994d022f17db608ea91b5994123e71853ae464bf9bf2789c0fa}' OR prCity = 'Rapinya' OR prZip = 'Rapinya' OR prStreet LIKE '{523db56eae838994d022f17db608ea91b5994123e71853ae464bf9bf2789c0fa}Rapinya{523db56eae838994d022f17db608ea91b5994123e71853ae464bf9bf2789c0fa}' OR prCountry = 'Rapinya') AND (prLocation LIKE '{523db56eae838994d022f17db608ea91b5994123e71853ae464bf9bf2789c0fa}Spain{523db56eae838994d022f17db608ea91b5994123e71853ae464bf9bf2789c0fa}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{523db56eae838994d022f17db608ea91b5994123e71853ae464bf9bf2789c0fa}Spain{523db56eae838994d022f17db608ea91b5994123e71853ae464bf9bf2789c0fa}' OR prCountry = 'Spain')