SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd2a79ccbe99a84b7735649fbdbef5c41fa94566248165cd16e5c61b0ee2a91ea' 
  AND token = 'mTDq/rBjANG/ptPfrFn8ukdcgSzn9cxuSJIpkY8Xoos=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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