Fixed query

1. Query table MediaResource with fileNamePrefix
2. Remove formatting query tmp result