UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 1160, 
  `added` = 0, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 3480 
WHERE 
  product_id IN (
    40566, 40567, 40568, 40569, 40570, 40571, 
    40572, 40573, 40574
  )

Query time 0.00200

Result

int(9)