You need to add double quotations before writing the query, refer the following code:
mongoexport ... --query "{field: 'value'}" ...
Note: If you are using MongoDB on windows then add double quotes but if you are using mac then you have to add single quotes.