@XavierConleyAug 12.2022 — #You can check out the part called Logical Grouping in the documentation . For your case it would be something like: Model::where(function ($query) { $query->where('a', '=', 1) ->orWhere('b', '=', 1); })->where(function ($query) { $query->where('c', '=', 1) ->orWhere('d', '=', 1); });