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

Query time 0.00126

Result

int(5)