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

Query time 0.00056

JSON explain

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