UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 3887, 
  `added` = 27, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 11796 
WHERE 
  product_id IN (
    431580, 431581, 431582, 431583, 431584, 
    431585, 431586
  )

Query time 0.00059

Result

int(7)