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