Optimize `last_successful_deploy` query
Optimize `last_successful_deploy` query

perobertson/shipit-engine,Shopify/shipit-engine,Shopify/shipit-engine,perobertson/shipit-engine,perobertson/shipit-engine,Shopify/shipit-engine,Shopify/shipit-engine,Shopify/shipit-engine,perobertson/shipit-engine,perobertson/shipit-engine