Could I get a glasses prescription in 10 seconds?

Yes, but not in the US.
QuickSee is a portable auto-refractor developed by MIT for use in remote areas. See it in action here.