minor sql optimizations for asteroid seed

+ Minor sql optimizations for asteroid seed
+ Ignore filter for local and binary stuff
* DBConnect polish