UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 165, 
  `added` = 0, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 495 
WHERE 
  product_id IN (
    13247, 13248, 13249, 13250, 13251, 13252
  )

Query time 0.00272

Result

int(6)