It is much simpler than previous answers. Just test each type you want to support:
template <typename T, size_t N>
concept fixed_container = std::ranges::sized_range<T> &&
( std::extent_v<T> == N || // var[N]
T::extent == N || // std::span
std::tuple_size<T>::value == N ); // Tuple-like types, i.e. std::array