As far as I'm aware, I don't believe you can filter a selection based on the value of DXF group 3 for MTEXT, therefore, you will need to obtain a selection of all MTEXT entities which fulfill all other criteria, and then filter the selection further by iterating over the entities in the selection.