SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a95c7f0f2a4ec27e44f54533484626a3283ee1928c44ddc8d343f327fcbb6c5f' 
  AND token = 'qcsqdLUvL2kp9ev4kJNyOpa4MdLb2qGSWelAiuCne2U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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