UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 5847, 
  `added` = 16, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 17621 
WHERE 
  product_id IN (
    431699, 431700, 431701, 431702, 431703, 
    431704, 431705, 431706, 431707, 431708, 
    431709, 431710, 431711, 431712, 431713, 
    431714, 431715, 431716, 431717, 431718, 
    431719, 431720, 431721, 431722, 431723, 
    431724, 431725, 431726, 431727, 431728, 
    431729, 431730, 431731, 431732, 431733
  )

Query time 0.00161

Result

int(35)