UPDATE 
  cscart_product_popularity 
SET 
  `viewed` = 87, 
  `added` = 18, 
  `deleted` = 0, 
  `bought` = 0, 
  `total` = 50351 
WHERE 
  product_id IN (
    51113, 51114, 51115, 51116, 51117, 51118
  )

Query time 0.00048

Result

int(6)