UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 3949, 
  `added` = 12, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 11907 
WHERE 
  product_id IN (
    395997, 395998, 395999, 396000, 396001
  )

Query time 0.00059

Result

int(5)