Usually you buy a travel insurance in your homecountry prior to departure.
You could however try the insurance booths at CKS airport departure hall, but I am not sure if you can actually apply the insurance for incoming travellers.
Thus I would first try in the country where they depart from.