UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 5, 
  `added` = 0, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 15 
WHERE 
  product_id IN (
    13240, 13241, 13242, 13243, 13244, 13245
  )

Query time 0.00153

Result

int(6)