Before:
$vehicle = VehicleModel::firstOrCreate([
'name' => $vehicleName
]);
After:
$vehicle = VehicleModel::where(DB::raw('BINARY `name`'), $vehicleName)
->firstOr(function() use($vehicleName) {
return VehicleModel::create([
'name' => $vehicleName
]);
});