Existence results for a wide class of equilibrium problems: A general scheme