Anisotropic low-dimensional superconductors close to an electronic topological transition