Level 39
When you have your sql the easiest way is to use db facade
https://laravel.com/docs/8.x/database#running-a-select-query
$res=DB::select("your_sq"l);
Converting it to Eloquent will make you lost two times (coding & cpu because eloquent reconvert it to sql)