Issue:
fix(payments): remove time range filter from payment attempt

We don't need time range filters since created at is not indexed in payments attempts, we are already getting filtered payments intents and using its active attempt ids. It is further slowing down 'IN' query performance.

Resolution:
<think>
PR Context:
- Title: fix(payments_list): remove time range to filter payments attempts
- Merged: 2024-09-30T15:02:13Z
- Files changed: 6 files
- Commits: 1 commits

Implementation approach:
## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [x] Bugfix
- [ ] New feature
- [ ] Enhancement
- [x] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD

## Description
Currently `created_at` is not indexed in payment attempt table, when applying filtering with active attempt ids. We are adding extra overhead of checking time_range, though we need not to as we will be already getting filtered attempt ids from intent table.

### Additional Changes

</think>

To implement this, you'll need to modify:


**Detailed Implementation:**


**Commit 1:** fix(payments_list): remove time range to filter payments attempts (#6159)
Files to modify:


**crates/diesel_models/src/query/payment_attempt.rs**
  Modify existing code

**crates/hyperswitch_domain_models/src/payments/payment_attempt.rs**
  Modify existing code

**crates/router/src/core/payments.rs**
  Modify existing code

**crates/router/src/db/kafka_store.rs**
  Modify existing code

**crates/storage_impl/src/mock_db/payment_attempt.rs**
  Modify existing code

**crates/storage_impl/src/payments/payment_attempt.rs**
  Modify existing code