UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 1987, 
  `added` = 0, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 5961 
WHERE 
  product_id IN (24704, 24705)

Query time 0.00069

Result

int(2)