Anytime an officer pulls you over, they always ask for your license, registration and proof of insurance,,,,,ALWAYS.
At 4am, most officers are looking for people who might be DUI. If you use the wrong turn signals, then they could guess that you might be "impaired", so the reason to pull you over.
Most people keep their insurance card in the glove compartment with the registration.
The question is, do you have a valid drivers license and is the car insured? If so, then when you show up for court, you present "proof" of both and most likely could get a reduced fine or pay nothing if the Judge is in a good mood.
But I guarantee you, if you did not have a license on the date of your ticket, or if the car was not insured, then you will pay a heavy fine and could prevent you from getting a license in the future. And yes, the Judge will look at the dates and also the date on the ticket, since that will be the 1st thing they will do, since this most likely happens all the time that people lie, so it is YOUR job to prove you just could not find it on that night.