UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 10724, 
  `added` = 20, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 32272 
WHERE 
  product_id IN (
    366834, 366835, 366836, 366837, 366838
  )

Query time 0.00056

Result

int(5)