SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{e1010040bc6786d03279880ad5ec09e9d6ab92e7354fd8a3863db93fbf8a8d19}Lobstädt{e1010040bc6786d03279880ad5ec09e9d6ab92e7354fd8a3863db93fbf8a8d19}' OR prCity = 'Lobstädt' OR prZip = 'Lobstädt' OR prStreet LIKE '{e1010040bc6786d03279880ad5ec09e9d6ab92e7354fd8a3863db93fbf8a8d19}Lobstädt{e1010040bc6786d03279880ad5ec09e9d6ab92e7354fd8a3863db93fbf8a8d19}' OR prCountry = 'Lobstädt') AND (prLocation LIKE '{e1010040bc6786d03279880ad5ec09e9d6ab92e7354fd8a3863db93fbf8a8d19}Germany{e1010040bc6786d03279880ad5ec09e9d6ab92e7354fd8a3863db93fbf8a8d19}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{e1010040bc6786d03279880ad5ec09e9d6ab92e7354fd8a3863db93fbf8a8d19}Germany{e1010040bc6786d03279880ad5ec09e9d6ab92e7354fd8a3863db93fbf8a8d19}' OR prCountry = 'Germany')