Any lesions inside the beak?
Do you have a helper?
20minutes is a long time to work on any bird, especially flighty squirmy Quail. I wouldn't work on him for more than 5-10 minutes at a time. Have all your supplies laid and ready.
Oh, I see.
Yes, that may be part of the nostril, hard to tell, but he's got "stuff" clogged around it. I'd work on loosening what looks like doesn't belong.
Yep, they move constantly, you're going to have fun😅
Hard to tell if it's mucous or feed stuck in the nostrils. Has he had any symptoms like coughing, sneezing, etc.?
Anyway, the nostrils need to be cleaned out. Apply 1 (one) drop of Peroxide to the crusty material in the nostril. Let the soak in a few minutes. Take a dental pick or orange...