UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 108, 
  `added` = 23, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 50439 
WHERE 
  product_id IN (
    51106, 51107, 51108, 51109, 51110, 51111, 
    51112
  )

Query time 0.00050

Result

int(7)