SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e64f40efe7dbe35b0b6ebc7c0a1f28c72149fb57c3b3a9b2e29b378dd7e6eb39' 
  AND token = 'klkr1lgXzxp3vLFXoquv6C8oDpwAuUn/GSeHKAE4uVA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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