How can I unscrew this nut with little clearance?
What you want is a basin wrench:


(Source)

The left end pivots so you can reach up under the sink and access the nut.

That said, you have some serious corrosion going on there. You might have to go with destructive methods, perhaps involving grinding off the top of the faucet.