UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 12, 
  `added` = 0, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 36 
WHERE 
  product_id IN (
    13170, 13171, 13172, 13173, 13174, 13175
  )

Query time 0.00169

Result

int(6)