SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5f059169c49ade8a3fdd3b46b112e98197c9b147cb317427cec95ff4681a956b' 
  AND token = '8drjraCz3tSG3y36SN8ado4/+h78BdiLXVPhKIvQ6w0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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