SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{07241c5f894a7e2a6a5e961101582bf891da8724dcbc9ed2417b92ed618cf3ad}Catral{07241c5f894a7e2a6a5e961101582bf891da8724dcbc9ed2417b92ed618cf3ad}' OR prCity = 'Catral' OR prZip = 'Catral' OR prStreet LIKE '{07241c5f894a7e2a6a5e961101582bf891da8724dcbc9ed2417b92ed618cf3ad}Catral{07241c5f894a7e2a6a5e961101582bf891da8724dcbc9ed2417b92ed618cf3ad}' OR prCountry = 'Catral') AND (prLocation LIKE '{07241c5f894a7e2a6a5e961101582bf891da8724dcbc9ed2417b92ed618cf3ad}Spain{07241c5f894a7e2a6a5e961101582bf891da8724dcbc9ed2417b92ed618cf3ad}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{07241c5f894a7e2a6a5e961101582bf891da8724dcbc9ed2417b92ed618cf3ad}Spain{07241c5f894a7e2a6a5e961101582bf891da8724dcbc9ed2417b92ed618cf3ad}' OR prCountry = 'Spain')