UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 29, 
  `added` = 0, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 87 
WHERE 
  product_id IN (
    10986, 10987, 10988, 10989, 10990, 10991, 
    10992, 10993, 10994, 10995, 10996, 
    10997, 10998, 10999, 11000, 11001, 
    11002, 11003, 11004
  )

Query time 0.00045