UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 10435, 
  `added` = 32, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 31465 
WHERE 
  product_id IN (
    366772, 366773, 366774, 366775, 366776
  )

Query time 0.00064

Result

int(5)