The problem with glass is that I imagine the sand would just get on top of it and eventually get buried anyway. Basically, you need to prop the coral up enough so that there's a comfortable distance between the sand to the edges of the coral. If you don't like egg crate, try an appropriately sized rock or chuck of dead coral skeleton to epoxy it onto.