UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 104, 
  `added` = 33, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 55477 
WHERE 
  product_id IN (
    51166, 51167, 51168, 51169, 51170, 51171
  )

Query time 0.00057

Result

int(6)