I have a table contains 5000 records . When i am querying the table (with 30 columns) for a selection of a 500 records itself , its taking 30
seconds . How can i reduce this time of retrieving data from MySQL ? I was indexing 3 main integer type columns in the table including primary key . Is there any other workarounds ?
Sample query : select * from my_table where my_condition LIMIT 500