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