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