tough to tell from the picture, one in focus may be more helpful.
Mushroom is a very generic term, and usually refers to soft corals, Yours from the pic look like perhaps a fungia vs. trachyphyllia which are stony corals. If they are softies then disregard the below
both of these are substrate dwellers and will need enough flow to keep them clean from detritus, however, there is a vast range of depths and flow they can be found at, and if wild collected knowing where it comes from specifically may help (we almost never get that) Being stony corals in general they require stronger lighting than softs, but in a small /shallow tank they require less . I have had them do well in flurescents. These corals often will put out feeding tentacles at night and will enjoy mysid shrimp and copepods.