After eating a croissant that contained ethyl alcohol, I realised that it contained this substance. Does this mean my duas and prayers not be heard because it contained alcohol even though I didn’t know?

Since it was unintentional it is fine. In future you should check ingredients beforehand