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