UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 56, 
  `added` = 9, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 50213 
WHERE 
  product_id IN (
    51213, 51214, 51215, 51444, 51445, 51446, 
    51447
  )

Query time 0.00044

Result

int(7)