SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '90ef9f68ca3710eedc9813ddefc397b194e3cfda34e8dd51c33e268a245c17e6' 
  AND token = '5dqGTMNymZ07jjKwc+th3Uyt4ShODgumgLs1oyIkys0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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