There currently is one option to travel by night train from Ploieşti (Romania) to Lőkösháza (Hungary), taking between approximately 9 and 11 hours: Namely the 472 operated by CFR Călători.
CFR Călători is the passenger operator of the Romanian state railway. It runs domestic trains across Romania and international services to Hungary and Austria, including night trains.