I am trying to optimize query (below) which takes 80 minutes to execute. :/ I have very large table prodaja with 21m rows and actual_stock