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