UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 3956, 
  `added` = 18, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 11958 
WHERE 
  product_id IN (
    395997, 395998, 395999, 396000, 396001
  )

Query time 0.00084

Result

int(5)