Avoid SQL queries on XXL tables not using the first column of a composite index in the WHERE clause | CAST Appmarq