As the corbels will sit either side, there obviously isn't an chance of getting one (at least) in the middle, so MDF is completely out, and even 38mm might deflect on that width. It's possible that you could fit an angle bracket on the top side of the shelf, rather than the bottom,