When I toggle on the install via USB in developer mode:
I'm on MIUI Global 9.6 | Stable [9.6.1.0 (NCFMIFD)].
Problem for me was that wifi was not connected. As mentioned in some answers, apparently device tries to connect to server.
It works for without mobile data.