UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 3952, 
  `added` = 15, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 11931 
WHERE 
  product_id IN (
    395997, 395998, 395999, 396000, 396001
  )

Query time 0.00049

Result

int(5)