UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 97, 
  `added` = 22, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 50393 
WHERE 
  product_id IN (51239, 51240, 51241, 51242, 51243)

Query time 0.00044

Result

int(5)