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