UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 9985, 
  `added` = 26, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 30082 
WHERE 
  product_id IN (
    395984, 395985, 395986, 395987, 395988
  )

Query time 0.00053

Result

int(5)