Because Foreign Keys automatically indexes the column in MariaDB and this creates performance issues as the data scales.