UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 5240, 
  `added` = 65, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 16045 
WHERE 
  product_id IN (
    396028, 396029, 396030, 396031, 396032, 
    396033, 396034, 396035
  )

Query time 0.00042

Result

int(8)