Magento, Laravel, Eloquent.
you will only need to make one query to the database, even though you are retrieving two different magento tables. Use caching Caching is another great way to improve Magento 2 Eloquent performance. Caching allows you to store the results of expensive queries in memory so that you don’t have to