I say apply for the job. If you're asked the question, just answer that you suffered an (I'm assuming non-work related) injury that stopped you flying, and that you eventually ended up having surgery which corrected it.
And finish by saying you are quite happy that the company medical will confirm your full fitness. That's what they are there for.