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