UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 2955, 
  `added` = 16, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 8945 
WHERE 
  product_id IN (396014, 396015, 396016, 396017)

Query time 0.00055

Result

int(4)