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

Query time 0.00372

Result

int(5)