There currently is one option to travel by night train from Szolnok (Hungary) to Kyiv (Ukraine), taking approximately 18 hours: Namely the 10 operated by MÁV-Start.
MÁV-Start, Hungary's national passenger railway, operates domestic and cross-border trains throughout the region.