If your flight is 7AM, why you want to be in airport by 10PM (9 hours before)? Plenty of cabs available to airport anytime (price slightly varies).
or your query is
"you'll reach airport by 10 pm due to transport issues but your flight next day 7 am, willing to spend this time somewhere (possible stay near airport)?"
there are plenty of hotels nearby, but to shortlist or suggest need to know your budget or way to redeem some points?