SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '365ffb59eda90341bbd0519064fc5b59a994ea12f7109b188e84820df8e05d74' 
  AND token = '1AUKmKCi3WuOtBTW+39oMBW3LmmWmgIoY19ffssdT7k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}