UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 7255, 
  `added` = 22, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 21875 
WHERE 
  product_id IN (
    396045, 396046, 396047, 396048, 396049, 
    396050
  )

Query time 0.00058

Result

int(6)