Replace native query. Optimize fetch options.