SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{3c3f6c3b5cb6f962b09fecfd22a56b4e58c761e38fd5663c620b9fa248cc35d4}Tarifa{3c3f6c3b5cb6f962b09fecfd22a56b4e58c761e38fd5663c620b9fa248cc35d4}' OR prCity = 'Tarifa' OR prZip = 'Tarifa' OR prStreet LIKE '{3c3f6c3b5cb6f962b09fecfd22a56b4e58c761e38fd5663c620b9fa248cc35d4}Tarifa{3c3f6c3b5cb6f962b09fecfd22a56b4e58c761e38fd5663c620b9fa248cc35d4}' OR prCountry = 'Tarifa') AND (prLocation LIKE '{3c3f6c3b5cb6f962b09fecfd22a56b4e58c761e38fd5663c620b9fa248cc35d4}Spanien{3c3f6c3b5cb6f962b09fecfd22a56b4e58c761e38fd5663c620b9fa248cc35d4}' OR prCity = 'Spanien' OR prZip = 'Spanien' OR prStreet LIKE '{3c3f6c3b5cb6f962b09fecfd22a56b4e58c761e38fd5663c620b9fa248cc35d4}Spanien{3c3f6c3b5cb6f962b09fecfd22a56b4e58c761e38fd5663c620b9fa248cc35d4}' OR prCountry = 'Spanien')