Under what circumstances (if any) can one drink coffee from a non-kosher restaurant, cafe, or kiosk?
Buying only a cup of coffee at any establishment is almost never a problem.
If you are not comfortable with the sanitary conditions there, you should find another establishment you are comfortable with.
Any reputable coffee shop, Dunkin’s, wawa, or the like are all fine.