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