SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ecbd217cf3a2efccbefba6aa35956a4dfeed7cb8f398e809bdf920f0377e2451' 
  AND token = 'Fx649pnf3KS/Kf9Gg6k1iroLMZ+XU9EREx3v6k0GgMg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}