If your Xiaomi 5G has Android 11 or higher, then you may be able to get faster speed via Ethernet Tethering, instead of USB Tethering that may have more overhead. You just need to enable it and have a compatible Gigabit USB-C to Gigabit Ethernet adapter (~$15) and Ethernet cable between the smartphone and router.