UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 39, 
  `added` = 0, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 117 
WHERE 
  product_id IN (
    12525, 12526, 12527, 12528, 12529, 12530, 
    12531, 12532, 12533, 12534, 12535
  )

Query time 0.00206

Result

int(11)