Question about set log_slow_verbosity='query_plan' in MariaDB ans MySQL
The mysql manual shows you what parameters are accepted, and allow you to tune your system.  It's possible this is limited to long_query_time and min_examined_row_limit, while log_slow_verbosity is specific for mariadb.