SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{76fb9ce11bbdce6c38a7d2f8eb34dcd567883fad1c7c6f94b5fdcf315502b694}Cornberg{76fb9ce11bbdce6c38a7d2f8eb34dcd567883fad1c7c6f94b5fdcf315502b694}' OR prCity = 'Cornberg' OR prZip = 'Cornberg' OR prStreet LIKE '{76fb9ce11bbdce6c38a7d2f8eb34dcd567883fad1c7c6f94b5fdcf315502b694}Cornberg{76fb9ce11bbdce6c38a7d2f8eb34dcd567883fad1c7c6f94b5fdcf315502b694}' OR prCountry = 'Cornberg') AND (prLocation LIKE '{76fb9ce11bbdce6c38a7d2f8eb34dcd567883fad1c7c6f94b5fdcf315502b694}Germany{76fb9ce11bbdce6c38a7d2f8eb34dcd567883fad1c7c6f94b5fdcf315502b694}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{76fb9ce11bbdce6c38a7d2f8eb34dcd567883fad1c7c6f94b5fdcf315502b694}Germany{76fb9ce11bbdce6c38a7d2f8eb34dcd567883fad1c7c6f94b5fdcf315502b694}' OR prCountry = 'Germany')