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