「すみません、アレルギーがありますので、この食べ物は何が入っているか知りたいですが。」
[sumimasen, arerugii ga arimasu no de, kono tabemono wa nani ga haitteiru ka shiritai desu ga.]
Excuse, but since I have allergies, I would like to know what's in this food.
Here is how I would ask. I think it gets the correct meaning across, but might not necessarily be the most natural expression.