UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 94, 
  `added` = 24, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 50402 
WHERE 
  product_id IN (51273, 51274, 51275, 51276, 51277)

Query time 0.00037

Result

int(5)