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