Hello.
The page has:
counting the total number of ads (for pagination)
select count(*) from bazardnua_advert advert where advert.hide='show' and advert.end_putdate > 1481317200 sample (table names in select replaced by *, so that the place was not occupied)
select * from bazardnua_advert advert where advert.hide='show' and advert.end_putdate > 1481317200 order by advert.sort_time DESC limit 0 , 10 advert.hide (hide or show) - whether the advertisement is hidden (this field changes if the advertisement is expired)
end_putdate - the end date of the announcement (the field changes if the announcement has been extended)
Page generation (530 thousand ads):
without indices - 2.4 seconds
unique and non-unique. composition index (hide, end_putdate) - 2.7 seconds, not used end_putdate

Tell me, in my case, at least some indices will be able to help me, or is it necessary to look in a different direction?
May need other index options? Maybe you need to add some column to the sample? What do you advise ?
Thanks for answers .
