UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 93, 
  `added` = 31, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 50434 
WHERE 
  product_id IN (
    51259, 51260, 51261, 51262, 51263, 51264, 
    51265
  )

Query time 0.00041

Result

int(7)