Existence results for a class of semilinear degenerate elliptic equations