UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 35, 
  `added` = 0, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 105 
WHERE 
  product_id IN (
    12753, 12754, 12755, 12756, 12757, 12758, 
    12759, 12760, 12761, 12762, 12763, 
    12764, 12765, 12766, 12767, 12768, 
    12769, 12770, 12771, 12772, 12773, 
    12774, 12775, 12776, 12777, 12778, 
    12779, 12780, 12781
  )

Query time 0.00180

Result

int(29)