CREATE INDEX IF NOT EXISTS roms_game_parent_romfile ON roms (game_id, parent_id, romfile_id);