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