UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 260, 
  `added` = 26, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 55910 
WHERE 
  product_id IN (51221, 51222, 51223, 51224)

Query time 0.00037

Result

int(4)