UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 88, 
  `added` = 35, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 50439 
WHERE 
  product_id IN (
    51177, 51178, 51179, 51180, 51181, 51182
  )

Query time 0.00038

Result

int(6)