UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 6, 
  `added` = 0, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 18 
WHERE 
  product_id IN (
    13099, 13100, 13101, 13102, 13103, 13104
  )

Query time 0.00124

Result

int(6)