SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9f4e8e54d5cccbc1b94f9e96c9545c5451f35f6887a3a2af67d9ebd906dba7e1' 
  AND token = 'xzSUHgfktfOW5uVj1wqv0yCf7+9tSzVFkpT2ciymJcE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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