Lots of airports have kiosks which sell SIMs. Whether the particular airport to which you are flying sells the particular SIM you want at the price you want to pay is a more difficult question. You probably need to ask in the appropriate forum for the country you will visit. Or use the airport's wifi.