try to fix
More than 100 MB of temp table memory used while executing SQL.