SELECT 1 FROM cscart_lock_keys WHERE key_id = '31a1474ac6a08253f1cb25f13be23d1ca090f1a4e00f775e788031b7fc12801f' AND token = 'rRZ1uQh7BR0I+ydBrcUnlmvCgdBNKrP6503aO/BMnJk=' AND expiry_at > UNIX_TIMESTAMP(NOW())