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

Query time 0.00061

Result

int(5)