SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6415e734cb53165408eb738265b8907b407fd3e27384963a6ec780ea5ab05fcc' 
  AND token = 'RS/gDWldHyr9LmpLly6wt9vawXEtvs4vseD6KfenZlo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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