SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{ff7293a72c0c61425d9e1cdf47194b863464aa373c4ad0ba4a7503a6a75269a4}Bühlertal{ff7293a72c0c61425d9e1cdf47194b863464aa373c4ad0ba4a7503a6a75269a4}' OR prCity = 'Bühlertal' OR prZip = 'Bühlertal' OR prStreet LIKE '{ff7293a72c0c61425d9e1cdf47194b863464aa373c4ad0ba4a7503a6a75269a4}Bühlertal{ff7293a72c0c61425d9e1cdf47194b863464aa373c4ad0ba4a7503a6a75269a4}' OR prCountry = 'Bühlertal') AND (prLocation LIKE '{ff7293a72c0c61425d9e1cdf47194b863464aa373c4ad0ba4a7503a6a75269a4}Germany{ff7293a72c0c61425d9e1cdf47194b863464aa373c4ad0ba4a7503a6a75269a4}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{ff7293a72c0c61425d9e1cdf47194b863464aa373c4ad0ba4a7503a6a75269a4}Germany{ff7293a72c0c61425d9e1cdf47194b863464aa373c4ad0ba4a7503a6a75269a4}' OR prCountry = 'Germany')