Hey OP, I just bought an m240i a couple of weeks ago.
These are two that I would consider to be a good deal in this market and fit your budget (both are autos however).
2017 Estoril Blue with 38k miles for $34k:
https://www.truecar.com/used-cars-fo...id=autotempest
2018 White with 48k miles for $35.4k:
https://www.cars.com/vehicledetail/7...paign=atempest