In an old project that we have not changed for some time, the following request is used for partitioning:
EXPLAIN PARTITIONS SELECT * FROM table