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