CREATE INDEX visible_idx ON addons (addontype_id, status, inactive, current_version);