SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{08291874d26a7fc8f7ea1aa0f1df9ff083d7ac5b7f71eb11622f1473242409c9}La{08291874d26a7fc8f7ea1aa0f1df9ff083d7ac5b7f71eb11622f1473242409c9}' OR prCity = 'La' OR prZip = 'La' OR prStreet LIKE '{08291874d26a7fc8f7ea1aa0f1df9ff083d7ac5b7f71eb11622f1473242409c9}La{08291874d26a7fc8f7ea1aa0f1df9ff083d7ac5b7f71eb11622f1473242409c9}' OR prCountry = 'La') AND (prLocation LIKE '{08291874d26a7fc8f7ea1aa0f1df9ff083d7ac5b7f71eb11622f1473242409c9}Finca{08291874d26a7fc8f7ea1aa0f1df9ff083d7ac5b7f71eb11622f1473242409c9}' OR prCity = 'Finca' OR prZip = 'Finca' OR prStreet LIKE '{08291874d26a7fc8f7ea1aa0f1df9ff083d7ac5b7f71eb11622f1473242409c9}Finca{08291874d26a7fc8f7ea1aa0f1df9ff083d7ac5b7f71eb11622f1473242409c9}' OR prCountry = 'Finca') AND (prLocation LIKE '{08291874d26a7fc8f7ea1aa0f1df9ff083d7ac5b7f71eb11622f1473242409c9}Golf{08291874d26a7fc8f7ea1aa0f1df9ff083d7ac5b7f71eb11622f1473242409c9}' OR prCity = 'Golf' OR prZip = 'Golf' OR prStreet LIKE '{08291874d26a7fc8f7ea1aa0f1df9ff083d7ac5b7f71eb11622f1473242409c9}Golf{08291874d26a7fc8f7ea1aa0f1df9ff083d7ac5b7f71eb11622f1473242409c9}' OR prCountry = 'Golf') AND (prLocation LIKE '{08291874d26a7fc8f7ea1aa0f1df9ff083d7ac5b7f71eb11622f1473242409c9}and{08291874d26a7fc8f7ea1aa0f1df9ff083d7ac5b7f71eb11622f1473242409c9}' OR prCity = 'and' OR prZip = 'and' OR prStreet LIKE '{08291874d26a7fc8f7ea1aa0f1df9ff083d7ac5b7f71eb11622f1473242409c9}and{08291874d26a7fc8f7ea1aa0f1df9ff083d7ac5b7f71eb11622f1473242409c9}' OR prCountry = 'and') AND (prLocation LIKE '{08291874d26a7fc8f7ea1aa0f1df9ff083d7ac5b7f71eb11622f1473242409c9}Spa{08291874d26a7fc8f7ea1aa0f1df9ff083d7ac5b7f71eb11622f1473242409c9}' OR prCity = 'Spa' OR prZip = 'Spa' OR prStreet LIKE '{08291874d26a7fc8f7ea1aa0f1df9ff083d7ac5b7f71eb11622f1473242409c9}Spa{08291874d26a7fc8f7ea1aa0f1df9ff083d7ac5b7f71eb11622f1473242409c9}' OR prCountry = 'Spa') AND (prLocation LIKE '{08291874d26a7fc8f7ea1aa0f1df9ff083d7ac5b7f71eb11622f1473242409c9}Resort{08291874d26a7fc8f7ea1aa0f1df9ff083d7ac5b7f71eb11622f1473242409c9}' OR prCity = 'Resort' OR prZip = 'Resort' OR prStreet LIKE '{08291874d26a7fc8f7ea1aa0f1df9ff083d7ac5b7f71eb11622f1473242409c9}Resort{08291874d26a7fc8f7ea1aa0f1df9ff083d7ac5b7f71eb11622f1473242409c9}' OR prCountry = 'Resort') AND (prLocation LIKE '{08291874d26a7fc8f7ea1aa0f1df9ff083d7ac5b7f71eb11622f1473242409c9}Spain{08291874d26a7fc8f7ea1aa0f1df9ff083d7ac5b7f71eb11622f1473242409c9}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{08291874d26a7fc8f7ea1aa0f1df9ff083d7ac5b7f71eb11622f1473242409c9}Spain{08291874d26a7fc8f7ea1aa0f1df9ff083d7ac5b7f71eb11622f1473242409c9}' OR prCountry = 'Spain')