Optimizing Eloquent Query Performance Example In Laravel