UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 16, 
  `added` = 0, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 51 
WHERE 
  product_id IN (
    1325, 1327, 1328, 1329, 1331, 1332, 1333, 
    5071, 5073, 5074, 5075, 5077, 5078, 
    6714, 7272, 7273, 7274, 7275, 7276, 
    7277, 7347, 7348, 7349, 7350
  )

Query time 0.00041