Check with the airline that you are going to fly with before you buy the stuff. You're better off putting things like cheese in to your checked baggage anyway as it is going to travel in a very cold cargo bay. I flew back from London to Manila earlier this year and brought 1/2 kilo of Stilton and 1/2 kilo of Wensleydale cheese. The airline said it was ok as long as it was in sealed packaging and not just wrapped, and was in checked baggage going in to the hold. As it was a Middle Eastern airline, I didn't mention the 1 kilo of Walls pork sausages !!!
Airport security seem to be quite arbitrary when scanning carry-on baggage and seem to make the rules up as they go along. Anything that they take a fancy to can suddenly be declared a prohibited item. There is a neat scam that operates at T4 and T5 at London Heathrow (often referred to a Thief-row). Any item over 100ml in your carry-on baggage, like deodorant, mouthwash, toothpaste etc. is confiscated. They know that if you protest or argue with them, they can ask for you to be held there and consequently you miss your flight. Confiscated items are supposed to be destroyed, but I know for sure that any item that is new and unused will miraculously re-appear, and I have seen this stuff offered for sale at car boot sales and pub car parks around Hounslow, Staines and Slough. Whilst they have the right to prevent you taking those items on board, I don't know what the legal position is in destroying what is your property. They could hold it and let you reclaim it on your return. Perhaps someone with a legal mind might challenge them one day. The stupidity of this practice at Heathrow, is that once you pass through security and even if they have confiscated some of your items, you can then go straight to Boots pharmacy in the departure lounge and buy exactly the same items, in the same size or bigger, and take them on to the aircraft. Yep, it's a racket.
Don't be a slave to your past - be the architect of your future.