With the query
select ogrish.*,oapiey.*
from ogrish o1,oapiey o2
where o1.aleb = o2.bleb
and o1.aleb in (47,11)
it could make sense to create the indecies
create index ogix on ogrish(aleb)
create index oaix on oapiey(bleb)
unless the columns are otherwise indexed.