SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9ef8bd150e82d397a80901485d0fbef7a29c0b8fafdca05b557e9284eda6037a' 
  AND token = 'cDHUJx2MsfTFYktYwUSZyw6kw23PShmrYQBDqjS+mqs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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