How to optimize MYSQL query?
I want to get latest records of the table with some settings_ids. id settings_id added_date 1 7 2022-08-23 01:44:24 2 9 2022-08-23 01:44:24 3 11 2022-08-23 01:44:24 4 7 2022-08-25 01:44:24 5 9 2022-08-25 01:44:24 6 11 2022-08-25 01:44:24 7…