Don't get there any earlier than you have to. The lounge is nothing special and gets busy. Leave your luggage at the hotel and do whatever you normally do on holiday - a nice dinner, walk along JBR, book a dhow cruise etc and get to DXB no earlier than midnight.