SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{a9a513dc4effd2e065daea695e3137c2bb0d0b980a963bee65b357c84e9a88dc}Bad{a9a513dc4effd2e065daea695e3137c2bb0d0b980a963bee65b357c84e9a88dc}' OR prCity = 'Bad' OR prZip = 'Bad' OR prStreet LIKE '{a9a513dc4effd2e065daea695e3137c2bb0d0b980a963bee65b357c84e9a88dc}Bad{a9a513dc4effd2e065daea695e3137c2bb0d0b980a963bee65b357c84e9a88dc}' OR prCountry = 'Bad') AND (prLocation LIKE '{a9a513dc4effd2e065daea695e3137c2bb0d0b980a963bee65b357c84e9a88dc}Cannstatt{a9a513dc4effd2e065daea695e3137c2bb0d0b980a963bee65b357c84e9a88dc}' OR prCity = 'Cannstatt' OR prZip = 'Cannstatt' OR prStreet LIKE '{a9a513dc4effd2e065daea695e3137c2bb0d0b980a963bee65b357c84e9a88dc}Cannstatt{a9a513dc4effd2e065daea695e3137c2bb0d0b980a963bee65b357c84e9a88dc}' OR prCountry = 'Cannstatt') AND (prLocation LIKE '{a9a513dc4effd2e065daea695e3137c2bb0d0b980a963bee65b357c84e9a88dc}Germany{a9a513dc4effd2e065daea695e3137c2bb0d0b980a963bee65b357c84e9a88dc}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{a9a513dc4effd2e065daea695e3137c2bb0d0b980a963bee65b357c84e9a88dc}Germany{a9a513dc4effd2e065daea695e3137c2bb0d0b980a963bee65b357c84e9a88dc}' OR prCountry = 'Germany')