UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 48, 
  `added` = 28, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 50284 
WHERE 
  product_id IN (51161, 51162, 51163, 51164, 51165)

Query time 0.00041

Result

int(5)