def METHOD_NAME(self, base_block_slot: int, block_slot_list: List[int]) -> None:
    request = f'''
        DELETE FROM {self._table_name}
              WHERE block_slot > %s
                AND block_slot < %s
                AND block_slot NOT IN ({', '.join(['%s' for _ in block_slot_list])})
        '''
    self._db.update_row(request, [base_block_slot, block_slot_list[-1]] + block_slot_list)