Explain what actually happens in your head during those five minutes. Do you focus on your surroundings, or does your mind just wander freely until the solution pops up?
For me, it's not free wandering. I zero in on the problem itself. My mind works through steps, like untangling a knot. The answer surfaces once I stop pushing.