Gunakan Antara Lavarel Operator
$query->whereBetween('age', [$ageFrom, $ageTo]);
shafeeque
$query->whereBetween('age', [$ageFrom, $ageTo]);