There is a user table which has 10 million records, following is the schema of the table user (user_id, user_name, first_name, last_name, address)
when following select is run on the above table it takes 18 minutes to run the query and the entire database slows down during this time.
select * from user where user_id=1000 and username='test';
how do we speed up the select and/or improve database performance in this case?