[drupal-support] How to use MySQL last_insert_id function with locking?