Lumen has DB facade with select method
$results = DB::select('select * from users where id = :id', ['id' => 1]);
But this dont work in WHERE IN case.
DB::connection('db')->selectOne("many lines of sql WHERE my_id IN (:my_id) ", ["my_id" => $new_ids]);
Of course, it is possible do with query builder,
DB::connection()->table('users')->select()->whereIn(id, $new_ids)
But I want to save raw SQL to easier debugging in future, cause my sql is too comprehensive with many joins.