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

Query time 0.00036

Result

int(5)