UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 9, 
  `added` = 0, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 27 
WHERE 
  product_id IN (
    13212, 13213, 13214, 13215, 13216, 13217
  )

Query time 0.00118

Result

int(6)