UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 38, 
  `added` = 1, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 113 
WHERE 
  product_id IN (
    12350, 12351, 12352, 12353, 12354, 12355, 
    12356, 12357, 12358, 12359, 12360, 
    12361, 12362, 12363
  )

Query time 0.00164

Result

int(14)