Use an appropriate join.
https://laravel.com/docs/5.8/queries#joins
Aliases can be included in the query (even the redundant ones!), e.g.
DB::table('configurations as config')
->join('shoes as shoes', 'shoes.col1', '=', 'config.col1')
->//...