UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 3432, 
  `added` = 0, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 10296 
WHERE 
  product_id IN (18947, 18948, 18949, 18950, 18954)

Query time 0.00287

Result

int(5)