They are both used equally and are both suitable in any situation.
But...
You would normally say
I recognised him at once or I would recognise him at once
or I recognised him immediately or I would recognise him immediately.
past or future.
Personally, I use "at once"
Hope this helps.