UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 18, 
  `added` = 0, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 57 
WHERE 
  product_id IN (
    3307, 3313, 3317, 3862, 6844, 6854, 6855, 
    6860, 6864, 7108, 7109, 7224, 7225, 
    7245, 7246, 7267, 7268, 7270, 7271
  )

Query time 0.00328

Result

int(19)