UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 7660, 
  `added` = 37, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 23165 
WHERE 
  product_id IN (
    396059, 396060, 396061, 396062, 396063, 
    396064
  )

Query time 0.00047

Result

int(6)