SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{19fd12d7d5998ecc89fcc5d0bd849e353eb5d0d8288d2a42ae25a84a0d0e48b5}Sankt{19fd12d7d5998ecc89fcc5d0bd849e353eb5d0d8288d2a42ae25a84a0d0e48b5}' OR prCity = 'Sankt' OR prZip = 'Sankt' OR prStreet LIKE '{19fd12d7d5998ecc89fcc5d0bd849e353eb5d0d8288d2a42ae25a84a0d0e48b5}Sankt{19fd12d7d5998ecc89fcc5d0bd849e353eb5d0d8288d2a42ae25a84a0d0e48b5}' OR prCountry = 'Sankt') AND (prLocation LIKE '{19fd12d7d5998ecc89fcc5d0bd849e353eb5d0d8288d2a42ae25a84a0d0e48b5}Andreasberg{19fd12d7d5998ecc89fcc5d0bd849e353eb5d0d8288d2a42ae25a84a0d0e48b5}' OR prCity = 'Andreasberg' OR prZip = 'Andreasberg' OR prStreet LIKE '{19fd12d7d5998ecc89fcc5d0bd849e353eb5d0d8288d2a42ae25a84a0d0e48b5}Andreasberg{19fd12d7d5998ecc89fcc5d0bd849e353eb5d0d8288d2a42ae25a84a0d0e48b5}' OR prCountry = 'Andreasberg') AND (prLocation LIKE '{19fd12d7d5998ecc89fcc5d0bd849e353eb5d0d8288d2a42ae25a84a0d0e48b5}Germany{19fd12d7d5998ecc89fcc5d0bd849e353eb5d0d8288d2a42ae25a84a0d0e48b5}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{19fd12d7d5998ecc89fcc5d0bd849e353eb5d0d8288d2a42ae25a84a0d0e48b5}Germany{19fd12d7d5998ecc89fcc5d0bd849e353eb5d0d8288d2a42ae25a84a0d0e48b5}' OR prCountry = 'Germany')