UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 1250, 
  `added` = 6, 
  `deleted` = 3, 
  `bought` = 2, 
  `total` = 3815 
WHERE 
  product_id IN (520, 522, 523)

Query time 0.00051

Result

int(3)