Likely a direct loan from Old Korean. Compare Middle Korean 며주〮 (myècwú, “block of fermented beans”) (whence Korean 메주 (meju)). Compare also Japanese 味噌 (miso, “miso”).
ᠮᡳᠰᡠᠨ • (misun)