UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 9988, 
  `added` = 28, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 30101 
WHERE 
  product_id IN (
    395984, 395985, 395986, 395987, 395988
  )

Query time 0.00046

Result

int(5)