UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 25, 
  `added` = 0, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 78 
WHERE 
  product_id IN (
    3297, 3298, 3299, 3304, 3308, 3309, 3310, 
    3314, 6845, 6849, 6852, 6853, 6856, 
    6857, 6858, 6862, 6863, 6865, 7057, 
    7058, 7059
  )

Query time 0.00032