UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 7114, 
  `added` = 40, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 21542 
WHERE 
  product_id IN (
    431561, 431562, 431563, 431564, 431565, 
    431566, 431567, 431568, 431569, 431587, 
    431588, 431589, 431591, 431592, 431593, 
    431594, 431595, 431596, 431597, 431598, 
    431599, 431600, 431601, 431602, 431603, 
    431604
  )

Query time 0.00087

Result

int(26)