SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af6b833ac2fae0bbe133f5252e36a2702e175500a09a96d1db6d1f4e9a207c59' 
  AND token = 'y9pQWjG/KgV5HgVW+pttMOv5D1BR1p+PbWaCfatRZ9M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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