SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'aaba61823dd31e6ead085cc6e6ab5e426a9037c31d7c7b94ab63216ed491c764' 
  AND token = 'wJ6Ff/xPj93L0NPXsiA1NSmvxUN7OpGgOaunfWXTs0U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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