UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 31, 
  `added` = 0, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 93 
WHERE 
  product_id IN (
    12610, 12611, 12612, 12613, 12614, 12615, 
    12616, 12617, 12618, 12619, 12620, 
    12621, 12622, 12623
  )

Query time 0.00124

Result

int(13)