UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 67, 
  `added` = 17, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 50283 
WHERE 
  product_id IN (
    51225, 51226, 51227, 51228, 51229, 51230, 
    51231
  )

Query time 0.00058

Result

int(7)