SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{fc014767774c25ad8c9f536416b340846bf32152143a81ae672e8cf730f598ad}Berlin{fc014767774c25ad8c9f536416b340846bf32152143a81ae672e8cf730f598ad}' OR prCity = 'Berlin' OR prZip = 'Berlin' OR prStreet LIKE '{fc014767774c25ad8c9f536416b340846bf32152143a81ae672e8cf730f598ad}Berlin{fc014767774c25ad8c9f536416b340846bf32152143a81ae672e8cf730f598ad}' OR prCountry = 'Berlin') AND (prLocation LIKE '{fc014767774c25ad8c9f536416b340846bf32152143a81ae672e8cf730f598ad}/{fc014767774c25ad8c9f536416b340846bf32152143a81ae672e8cf730f598ad}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{fc014767774c25ad8c9f536416b340846bf32152143a81ae672e8cf730f598ad}/{fc014767774c25ad8c9f536416b340846bf32152143a81ae672e8cf730f598ad}' OR prCountry = '/') AND (prLocation LIKE '{fc014767774c25ad8c9f536416b340846bf32152143a81ae672e8cf730f598ad}Neukölln{fc014767774c25ad8c9f536416b340846bf32152143a81ae672e8cf730f598ad}' OR prCity = 'Neukölln' OR prZip = 'Neukölln' OR prStreet LIKE '{fc014767774c25ad8c9f536416b340846bf32152143a81ae672e8cf730f598ad}Neukölln{fc014767774c25ad8c9f536416b340846bf32152143a81ae672e8cf730f598ad}' OR prCountry = 'Neukölln') AND (prLocation LIKE '{fc014767774c25ad8c9f536416b340846bf32152143a81ae672e8cf730f598ad}Germany{fc014767774c25ad8c9f536416b340846bf32152143a81ae672e8cf730f598ad}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{fc014767774c25ad8c9f536416b340846bf32152143a81ae672e8cf730f598ad}Germany{fc014767774c25ad8c9f536416b340846bf32152143a81ae672e8cf730f598ad}' OR prCountry = 'Germany')