SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{35a8f9b140c6568ea52211948b3a5559a679c6147300831be95e5ed62c7d4a17}Santa{35a8f9b140c6568ea52211948b3a5559a679c6147300831be95e5ed62c7d4a17}' OR prCity = 'Santa' OR prZip = 'Santa' OR prStreet LIKE '{35a8f9b140c6568ea52211948b3a5559a679c6147300831be95e5ed62c7d4a17}Santa{35a8f9b140c6568ea52211948b3a5559a679c6147300831be95e5ed62c7d4a17}' OR prCountry = 'Santa') AND (prLocation LIKE '{35a8f9b140c6568ea52211948b3a5559a679c6147300831be95e5ed62c7d4a17}Ponça{35a8f9b140c6568ea52211948b3a5559a679c6147300831be95e5ed62c7d4a17}' OR prCity = 'Ponça' OR prZip = 'Ponça' OR prStreet LIKE '{35a8f9b140c6568ea52211948b3a5559a679c6147300831be95e5ed62c7d4a17}Ponça{35a8f9b140c6568ea52211948b3a5559a679c6147300831be95e5ed62c7d4a17}' OR prCountry = 'Ponça') AND (prLocation LIKE '{35a8f9b140c6568ea52211948b3a5559a679c6147300831be95e5ed62c7d4a17}Spain{35a8f9b140c6568ea52211948b3a5559a679c6147300831be95e5ed62c7d4a17}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{35a8f9b140c6568ea52211948b3a5559a679c6147300831be95e5ed62c7d4a17}Spain{35a8f9b140c6568ea52211948b3a5559a679c6147300831be95e5ed62c7d4a17}' OR prCountry = 'Spain')