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