Adding crazy slow oracle sql