UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 1810, 
  `added` = 0, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 5430 
WHERE 
  product_id IN (
    42212, 42213, 42214, 42215, 42216, 42217, 
    42218
  )

Query time 0.00046

Result

int(7)