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