Content
YourModel::query()
->where('start', '<=', now()->toDateTimeString())
->where('end', '>=', now()->toDateTimeString())
->get();
read more stackoverflow
$affected = DB::table('users')
->where('id', 1)
->update(['options->enabled' => true]);
# note you can use the normal Laravel eloquent (ORM) and it works with updateOrCreate