The following restrictions apply when carrying food and liquids in a hand luggage:
Liquids, aerosols and gels: These are allowed in your hand luggage, if none of the liquid containers exceed 100ml. Medicine and special dietary products (e.g. baby food) over 100 ml are allowed. Kindly note that medication should be accompanied by a letter or prescription from a medical practitioner, confirming these requirements.
Food: Fruit, vegetables and all solid foods are allowed in the hand baggage. However, foods in sauces or liquid also need to be sealed in a 1-liter transparent re-sealable bag. In such cases, content should not exceed 100ml in volume.
Kindly find further guidelines here: https://www.maltairport.com/passenger/security-passport-control/hand-luggage/