There have been several threads on this topic that provide excellent insight on extended layovers at DOH. In reading through, there is a lot of options available in how to spend your time - sleeping, shopping, clubbing (the airport type, not the hipster type), and/or touring. Here is one recent thread that includes links to other past threads.
10 hour night layover