UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 102, 
  `added` = 36, 
  `deleted` = 1, 
  `bought` = 0, 
  `total` = 50455 
WHERE 
  product_id IN (
    51232, 51233, 51234, 51235, 51236, 51237, 
    51238
  )

Query time 0.00048

Result

int(7)