UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 13, 
  `added` = 0, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 39 
WHERE 
  product_id IN (
    13177, 13178, 13179, 13180, 13181, 13182
  )

Query time 0.00139

Result

int(6)