A Buffered Semi-Asynchronous Mechanism with MAB for Efficient Federated Learning