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